Skip to content

CI: Don't run tests twice on pull request branches - #223

Merged
ndevenish merged 1 commit into
mainfrom
ci-dedupe-runs
Nov 6, 2026
Merged

ndevenish merged 1 commit into
mainfrom
ci-dedupe-runs

Conversation

@ndevenish

Copy link
Copy Markdown
Contributor

The workflow ran on every push and every pull_request, so each push to a branch with an open PR in this repository triggered two identical runs. Restrict push runs to main and tags (tags are needed for the pypi-publish job); pull requests are still tested via pull_request.

The workflow ran on every push and every pull_request, so each push to
a branch with an open PR in this repository triggered two identical
runs. Restrict push runs to main and tags (tags are needed for the
pypi-publish job); pull requests are still tested via pull_request.
@ndevenish
ndevenish enabled auto-merge (squash) November 6, 2026 16:50
@ndevenish
ndevenish merged commit 4f4f23f into main Nov 6, 2026
8 checks passed
@ndevenish
ndevenish deleted the ci-dedupe-runs branch November 6, 2026 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant